<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ include file="header.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
	  <meta http-equiv="Content-Type" content="text/html; charset=GB18030">
    <title>用户注册</title>
    <style>
		td,body{
			padding:5px;
			font-size:12px;
		}
    	input{
    		border:1px solid RGB(99,175,233);
    	}
    </style>
  </head>
  
  <body>
   	<center>
   		<h2>用户注册</h2>
   		<form action="UserServlet?op=register" method="post">

			<table width="400" height="30" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<td width="76" align="center">用&nbsp;户&nbsp;名：</td>
					<td width="324">
						<input name="name" type="text" id="username">    </td>
				</tr>
				<tr>
					<td align="center">密&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
					<td><input name="password" type="password" id="password"></td>
				</tr>
				<tr>
					<td align="center">确认密码：</td>
					<td><input name="password2" type="password" id="password2"></td>
				</tr>
				<tr>
					<td align="center">性&nbsp;&nbsp;&nbsp;&nbsp;别：</td>
					<td><input name="sex" type="radio" value="男" checked="checked">
						男
						<input name="sex" type="radio" value="女">
						女</td>
				</tr>
				<tr>
					<td align="center">年龄：</td>
					<td><input name="age" type="text" id="age" size="45"></td>
				</tr>
				<tr>
					<td align="center">爱 &nbsp;&nbsp;&nbsp;好：</td>
					<td><input name="hobby" type="checkbox" value="狗狗">
						狗狗
						<input name="hobby" type="checkbox" value="猫猫">
						猫猫
						<input name="hobby" type="checkbox" value="小宠">
						小宠
						<input name="hobby" type="checkbox" value="游鱼">
						游鱼</td>
				</tr>
				<tr>
					<td align="center">签&nbsp;&nbsp;&nbsp;&nbsp;名：</td>
					<td><textarea name="sign" cols="43" rows="5" id="sign"></textarea></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td><input type="submit" name="Submit" value="注册">
						<input type="reset" name="Submit2" value="重置"></td>
				</tr>
			</table>
   		</form>
   	</center>
  </body>
</html>
<%@ include file="foot.jsp"%>